package com.sy.bean.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
@Data
@ApiModel("企业类别树")
public class EnterpriseCategoryTree {
    @ApiModelProperty(value = "企业id")
    int id;
    @ApiModelProperty(value = "类别编号")
    String code;
    @ApiModelProperty("类目名称")
    String name;
    @ApiModelProperty(value = "用于存储类别树")
    List<EnterpriseCategoryTree> children;
}
